package com.example.lotterysystem.controller.result;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ActivityDetailResult implements Serializable {
    // 活动信息
    private Long activityId;

    private String activityName;

    private String description;

    private boolean valid;

    // 奖品信息
    private List<PrizeDetail> prizes;

    // 人员信息
    private List<UserDetail> users;

    @Data
    public static class PrizeDetail {
        private Long prizeId;

        private String name;

        private String description;

        private BigDecimal price;

        private String imageUrl;

        private Long prizeAmount;

        private String prizeTierName;

        private boolean valid;
    }

    @Data
    public static class UserDetail {
        private Long userId;

        private String userName;

        private boolean valid;
    }
}
